namespace D4
{
    public partial class FormAB : Form
    {
        public FormAB()
        {
            InitializeComponent();
        }

        private void button_Click(object sender, EventArgs e)
        {
            string aString = textBoxA.Text;
            string bString = textBoxB.Text;

            if (aString == "Echo")
            {
                button.Text = bString;
            }
            else
            {
                int a = int.Parse(aString);
                int b = int.Parse(bString);

                if (a > b)
                {
                    button.Text = "a > b";
                }
                else if (a < b)
                {
                    button.Text = "a < b";
                }
                else
                {
                    button.Text = "a == b";
                }
            }
        }
    }
}